package org.swingplus.core.annotation.widget;

import org.swingplus.core.constant.theme.Theme;

import javax.swing.*;
import java.awt.*;
import java.lang.annotation.*;


@Target({ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Label {
	
	Theme theme() default Theme.WINDOWS;

	//标题栏
	boolean undecorated() default true;
	
	//鼠标形状
	int cursor() default Cursor.DEFAULT_CURSOR;
	
	String text() default "";
	//可见
	boolean visible() default true;

	int horizontalAlignment()  default JLabel.CENTER;


	int fontSize() default 10;

	int[] foreground() default {0,0,0};

	boolean isIcon() default false;

	String path() default "";
	
}
